package com.atguigu.springcloud.service.hystriximpl;

import com.atguigu.springcloud.service.PaymentService;
import org.springframework.stereotype.Component;

@Component
public class PaymentServiceHystrixImpl implements PaymentService {
	
	@Override
	public String paymentInfo_ok() {
		return "ok出问题了!!!";
	}
	
	@Override
	public String paymentInfo_timeout() {
		return "timeout出问题了!!!";
	}
}
